package cn.tudu.boot22.mapper;

import cn.tudu.boot22.entity.Hero;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface HeroMapper1 {
    @Insert("insert into hero values(null,#{name},#{money})")
    void insert(Hero hero);
}
